﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BioModel;
using System.ServiceModel;

namespace BioDAL
{
    [ServiceContract]
    public interface IKundeDAL
    {
        void OpenConnection(string connectionString);
        void CloseConnection();

        #region Kunde
        int InsertKunde(int telefonNr, string navn, string email, string password);
        void EditKunde(int telefonNr, string navn, string email);
        List<Kunde> AlleKunder();
        Kunde GetEnKunde(int tlf);
        #endregion
    }
}
